﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace UI.gongwen
{
    public partial class gwcl : Form
    {
        public gwcl()
        {
            InitializeComponent();
        }

        private void gwcl_Load(object sender, EventArgs e)
        {
            skinDataGridView1.DataSource = DAL.UserServer.Selectgwnotaccept().Tables[0];
            skinDataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; 
        }

        private void 查看详细ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            
            int gid =Convert.ToInt32(skinDataGridView1.CurrentRow.Cells["公文编号"].Value);
            UI.gongwen.deal deal = new UI.gongwen.deal();
            deal.gid = gid;
            deal.Show();
        }

        private void skinDataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }
    }
}
